package com.caiyouxi.goods.model;

import com.caiyouxi.common.bean.QueryParams;

import java.io.Serializable;

/**
 * chensong
 * 商品/订单的属性配置
 */
public class GoodsPropertiesConfig extends QueryParams implements Serializable{
    
    private Integer id; //记录编号
    
    private Integer category_id;//所应用的品类编号
    
    private String apply_to;//应用于：GOODS：新增商品时需要填写该属性； ORDER：下单时需要填写这些属性； DELIVER：发货时需要填写这些属性
    
    private Integer group_id;//所示分组
    
    private String name;//显示的字段名称
    
    private String key;//键名
    
    private Integer is_key_property;//是否是销售属性。0-否；1-是

    private String type;//属性字段类型

    private String config;//字段详细配置
    
    private String remark;//备注信息
    
    private String order_num;//组内排序号

    private boolean is_deleted;//是否被删除。0-否；1-是。

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCategory_id() {
        return category_id;
    }

    public void setCategory_id(Integer category_id) {
        this.category_id = category_id;
    }

    public String getApply_to() {
        return apply_to;
    }

    public void setApply_to(String apply_to) {
        this.apply_to = apply_to;
    }

    public Integer getGroup_id() {
        return group_id;
    }

    public void setGroup_id(Integer group_id) {
        this.group_id = group_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Integer getIs_key_property() {
        return is_key_property;
    }

    public void setIs_key_property(Integer is_key_property) {
        this.is_key_property = is_key_property;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrder_num() {
        return order_num;
    }

    public void setOrder_num(String order_num) {
        this.order_num = order_num;
    }

    public boolean is_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(boolean is_deleted) {
        this.is_deleted = is_deleted;
    }
}
